const CopyPlugin = require('copy-webpack-plugin')
const path = require('path')
module.exports = {
    mode: 'production',
    plugins: [
        new CopyPlugin({
            patterns: [{ from: path.join(__dirname, "public/favicon.ico") , to: path.join(__dirname, 'dist') }]
        })
    ]
}